package com.monkey.generator.dao;

import com.monkey.generator.model.TUserLuck;
import com.monkey.generator.model.TUserLuckExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TUserLuckMapper {
    long countByExample(TUserLuckExample example);

    int deleteByExample(TUserLuckExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TUserLuck record);

    int insertSelective(TUserLuck record);

    List<TUserLuck> selectByExample(TUserLuckExample example);

    TUserLuck selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TUserLuck record, @Param("example") TUserLuckExample example);

    int updateByExample(@Param("record") TUserLuck record, @Param("example") TUserLuckExample example);

    int updateByPrimaryKeySelective(TUserLuck record);

    int updateByPrimaryKey(TUserLuck record);
}